/*
* @Author: dengjiayao
* @Date:   2017-04-26 14:07:36
* @Last Modified by:   dengjiayao
* @Last Modified time: 2017-04-26 14:09:12
*/
export default (Vue) => {
  Vue.filter('AIQuestionType', (type) => {
    /*eslint-disable*/
    switch (+type) {
      case 1:
        return '组合'
        break
      case 2:
        return 'A股'
        break
      case 3:
        return '港股'
        break
      case 4:
        return '迷你组合'
        break
      case 5:
        return '资讯'
        break
      case 6:
        return '存股宝'
        break
      default:
        return '其他'
    }
  /*eslint-enable*/
  })
}
